package com.itheima.mapper;

import com.itheima.pojo.*;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface NursingPlanMapper {

    List<NursingPlan> listwo(NursingPlanQueryParam nursingPlanQueryParam);

    @Insert("INSERT INTO nursing_plan (sort_no, plan_name, status, create_time, update_time, create_by, update_by, remark) VALUES (#{sortNo}, #{planName}, #{status}, NOW(), NOW(), #{createBy}, #{updateBy}, #{remark})")
    Integer add(NursingPlan nursingPlan);

}
